package cn.wolfcode.domain;

import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

/**
 * 角色
 */
@Getter
@Setter
public class Role {
    private Long id;
    //名称
    private String name;
    //编码
    private String sn;
    //权限集合
    private List<Permission> permissions = new ArrayList<>();
}